<template>
  <div>
    <header>
      <div class="box">
        <div class="left">
          <img src="http://www.gzoaktreeinv.com/wp-content/uploads/2022/01/2e1369fd979bf11eba1ecd6d3ff8f92b.png" alt="">
        </div>
        <div class="right">
          <li>中文</li>|
          <li>EN</li>
          <li><img src="http://www.gzoaktreeinv.com/wp-content/themes/default/images/m_menu1.png" alt=""></li>
        </div>
      </div>
      
      <div class="lbt">
        <swiper :options="swiperOption">
                <swiper-slide v-for="slide in swiperSlides" :key="slide.id" class="liimg"><img :src="slide.src">
                </swiper-slide>
                <p class="swiper-pagination" slot="pagination"></p></swiper>
      </div>
    </header>
  </div>
</template>

<script>
import 'swiper/dist/css/swiper.css'
import { swiper, swiperSlide } from 'vue-awesome-swiper'
  export default {
    data(){
      return {
            swiperOption:{
                autoplay:true,
                pagination:{
                    el: '.swiper-pagination'
                }
            },
            swiperSlides : [{id:1,src:"http://www.gzoaktreeinv.com/wp-content/uploads/2021/12/banner1.png"},{id:2,src:"http://www.gzoaktreeinv.com/wp-content/uploads/2022/01/IST_24519_00013-scaled.jpg"},{id:3,src:"http://www.gzoaktreeinv.com/wp-content/uploads/2022/01/5d6994cf9b14a53ad153c001a90f4790-scaled.jpg"},{id:4,src:"http://www.gzoaktreeinv.com/wp-content/uploads/2021/12/banner2.png"},]
        }
    },
        components:{
            swiper,
            swiperSlide
        }
  }
</script>

<style lang="scss" scoped>
.box{
  width: 375px;
  z-index: 1000;
  position: fixed ;
  top: 0 ;
  left: 0 ;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  height: 60px;
  justify-content: space-between;
  .left{
    margin: 15px;
    img{
      width: 118px;
      height: 30px;
    }
  }
  .right{
    width: 175px;
    display: flex;
    justify-content: space-evenly;
    list-style: none;
    font-size: 14px;
    // margin-top: 15px;
    line-height: 60px;
    li{
      img{
        margin-top: 15px;
        width: 30px;
        height: 30px;
      }
    }
  }
}
.lbt{
  img{
    width: 375px;
    height: 240px;
  }
  
}

</style>